package com.pgybook.db.entity.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PayGateintEx {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PayGateintEx() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTradenoIsNull() {
            addCriterion("TRADENO is null");
            return (Criteria) this;
        }

        public Criteria andTradenoIsNotNull() {
            addCriterion("TRADENO is not null");
            return (Criteria) this;
        }

        public Criteria andTradenoEqualTo(String value) {
            addCriterion("TRADENO =", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoNotEqualTo(String value) {
            addCriterion("TRADENO <>", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoGreaterThan(String value) {
            addCriterion("TRADENO >", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoGreaterThanOrEqualTo(String value) {
            addCriterion("TRADENO >=", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoLessThan(String value) {
            addCriterion("TRADENO <", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoLessThanOrEqualTo(String value) {
            addCriterion("TRADENO <=", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoLike(String value) {
            addCriterion("TRADENO like", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoNotLike(String value) {
            addCriterion("TRADENO not like", value, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoIn(List<String> values) {
            addCriterion("TRADENO in", values, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoNotIn(List<String> values) {
            addCriterion("TRADENO not in", values, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoBetween(String value1, String value2) {
            addCriterion("TRADENO between", value1, value2, "tradeno");
            return (Criteria) this;
        }

        public Criteria andTradenoNotBetween(String value1, String value2) {
            addCriterion("TRADENO not between", value1, value2, "tradeno");
            return (Criteria) this;
        }

        public Criteria andCustidIsNull() {
            addCriterion("CUSTID is null");
            return (Criteria) this;
        }

        public Criteria andCustidIsNotNull() {
            addCriterion("CUSTID is not null");
            return (Criteria) this;
        }

        public Criteria andCustidEqualTo(Long value) {
            addCriterion("CUSTID =", value, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidNotEqualTo(Long value) {
            addCriterion("CUSTID <>", value, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidGreaterThan(Long value) {
            addCriterion("CUSTID >", value, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidGreaterThanOrEqualTo(Long value) {
            addCriterion("CUSTID >=", value, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidLessThan(Long value) {
            addCriterion("CUSTID <", value, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidLessThanOrEqualTo(Long value) {
            addCriterion("CUSTID <=", value, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidIn(List<Long> values) {
            addCriterion("CUSTID in", values, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidNotIn(List<Long> values) {
            addCriterion("CUSTID not in", values, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidBetween(Long value1, Long value2) {
            addCriterion("CUSTID between", value1, value2, "custid");
            return (Criteria) this;
        }

        public Criteria andCustidNotBetween(Long value1, Long value2) {
            addCriterion("CUSTID not between", value1, value2, "custid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("STATUS is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("STATUS =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("STATUS <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("STATUS >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("STATUS >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("STATUS <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("STATUS <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("STATUS in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("STATUS not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("STATUS between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("STATUS not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNull() {
            addCriterion("SUBJECT is null");
            return (Criteria) this;
        }

        public Criteria andSubjectIsNotNull() {
            addCriterion("SUBJECT is not null");
            return (Criteria) this;
        }

        public Criteria andSubjectEqualTo(String value) {
            addCriterion("SUBJECT =", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotEqualTo(String value) {
            addCriterion("SUBJECT <>", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThan(String value) {
            addCriterion("SUBJECT >", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("SUBJECT >=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThan(String value) {
            addCriterion("SUBJECT <", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLessThanOrEqualTo(String value) {
            addCriterion("SUBJECT <=", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectLike(String value) {
            addCriterion("SUBJECT like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotLike(String value) {
            addCriterion("SUBJECT not like", value, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectIn(List<String> values) {
            addCriterion("SUBJECT in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotIn(List<String> values) {
            addCriterion("SUBJECT not in", values, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectBetween(String value1, String value2) {
            addCriterion("SUBJECT between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andSubjectNotBetween(String value1, String value2) {
            addCriterion("SUBJECT not between", value1, value2, "subject");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("TYPE =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("TYPE <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("TYPE >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("TYPE >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("TYPE <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("TYPE <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("TYPE in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("TYPE not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("TYPE between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("TYPE not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTotalfeeIsNull() {
            addCriterion("TOTALFEE is null");
            return (Criteria) this;
        }

        public Criteria andTotalfeeIsNotNull() {
            addCriterion("TOTALFEE is not null");
            return (Criteria) this;
        }

        public Criteria andTotalfeeEqualTo(BigDecimal value) {
            addCriterion("TOTALFEE =", value, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeNotEqualTo(BigDecimal value) {
            addCriterion("TOTALFEE <>", value, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeGreaterThan(BigDecimal value) {
            addCriterion("TOTALFEE >", value, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTALFEE >=", value, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeLessThan(BigDecimal value) {
            addCriterion("TOTALFEE <", value, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TOTALFEE <=", value, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeIn(List<BigDecimal> values) {
            addCriterion("TOTALFEE in", values, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeNotIn(List<BigDecimal> values) {
            addCriterion("TOTALFEE not in", values, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTALFEE between", value1, value2, "totalfee");
            return (Criteria) this;
        }

        public Criteria andTotalfeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TOTALFEE not between", value1, value2, "totalfee");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidIsNull() {
            addCriterion("PAYCOMPANYID is null");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidIsNotNull() {
            addCriterion("PAYCOMPANYID is not null");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidEqualTo(Integer value) {
            addCriterion("PAYCOMPANYID =", value, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidNotEqualTo(Integer value) {
            addCriterion("PAYCOMPANYID <>", value, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidGreaterThan(Integer value) {
            addCriterion("PAYCOMPANYID >", value, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidGreaterThanOrEqualTo(Integer value) {
            addCriterion("PAYCOMPANYID >=", value, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidLessThan(Integer value) {
            addCriterion("PAYCOMPANYID <", value, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidLessThanOrEqualTo(Integer value) {
            addCriterion("PAYCOMPANYID <=", value, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidIn(List<Integer> values) {
            addCriterion("PAYCOMPANYID in", values, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidNotIn(List<Integer> values) {
            addCriterion("PAYCOMPANYID not in", values, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidBetween(Integer value1, Integer value2) {
            addCriterion("PAYCOMPANYID between", value1, value2, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andPaycompanyidNotBetween(Integer value1, Integer value2) {
            addCriterion("PAYCOMPANYID not between", value1, value2, "paycompanyid");
            return (Criteria) this;
        }

        public Criteria andReqtimeIsNull() {
            addCriterion("REQTIME is null");
            return (Criteria) this;
        }

        public Criteria andReqtimeIsNotNull() {
            addCriterion("REQTIME is not null");
            return (Criteria) this;
        }

        public Criteria andReqtimeEqualTo(Date value) {
            addCriterion("REQTIME =", value, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeNotEqualTo(Date value) {
            addCriterion("REQTIME <>", value, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeGreaterThan(Date value) {
            addCriterion("REQTIME >", value, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REQTIME >=", value, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeLessThan(Date value) {
            addCriterion("REQTIME <", value, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeLessThanOrEqualTo(Date value) {
            addCriterion("REQTIME <=", value, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeIn(List<Date> values) {
            addCriterion("REQTIME in", values, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeNotIn(List<Date> values) {
            addCriterion("REQTIME not in", values, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeBetween(Date value1, Date value2) {
            addCriterion("REQTIME between", value1, value2, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqtimeNotBetween(Date value1, Date value2) {
            addCriterion("REQTIME not between", value1, value2, "reqtime");
            return (Criteria) this;
        }

        public Criteria andReqcontentIsNull() {
            addCriterion("REQCONTENT is null");
            return (Criteria) this;
        }

        public Criteria andReqcontentIsNotNull() {
            addCriterion("REQCONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andReqcontentEqualTo(String value) {
            addCriterion("REQCONTENT =", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentNotEqualTo(String value) {
            addCriterion("REQCONTENT <>", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentGreaterThan(String value) {
            addCriterion("REQCONTENT >", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentGreaterThanOrEqualTo(String value) {
            addCriterion("REQCONTENT >=", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentLessThan(String value) {
            addCriterion("REQCONTENT <", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentLessThanOrEqualTo(String value) {
            addCriterion("REQCONTENT <=", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentLike(String value) {
            addCriterion("REQCONTENT like", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentNotLike(String value) {
            addCriterion("REQCONTENT not like", value, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentIn(List<String> values) {
            addCriterion("REQCONTENT in", values, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentNotIn(List<String> values) {
            addCriterion("REQCONTENT not in", values, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentBetween(String value1, String value2) {
            addCriterion("REQCONTENT between", value1, value2, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andReqcontentNotBetween(String value1, String value2) {
            addCriterion("REQCONTENT not between", value1, value2, "reqcontent");
            return (Criteria) this;
        }

        public Criteria andRestimeIsNull() {
            addCriterion("RESTIME is null");
            return (Criteria) this;
        }

        public Criteria andRestimeIsNotNull() {
            addCriterion("RESTIME is not null");
            return (Criteria) this;
        }

        public Criteria andRestimeEqualTo(Date value) {
            addCriterion("RESTIME =", value, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeNotEqualTo(Date value) {
            addCriterion("RESTIME <>", value, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeGreaterThan(Date value) {
            addCriterion("RESTIME >", value, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RESTIME >=", value, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeLessThan(Date value) {
            addCriterion("RESTIME <", value, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeLessThanOrEqualTo(Date value) {
            addCriterion("RESTIME <=", value, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeIn(List<Date> values) {
            addCriterion("RESTIME in", values, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeNotIn(List<Date> values) {
            addCriterion("RESTIME not in", values, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeBetween(Date value1, Date value2) {
            addCriterion("RESTIME between", value1, value2, "restime");
            return (Criteria) this;
        }

        public Criteria andRestimeNotBetween(Date value1, Date value2) {
            addCriterion("RESTIME not between", value1, value2, "restime");
            return (Criteria) this;
        }

        public Criteria andRescontentIsNull() {
            addCriterion("RESCONTENT is null");
            return (Criteria) this;
        }

        public Criteria andRescontentIsNotNull() {
            addCriterion("RESCONTENT is not null");
            return (Criteria) this;
        }

        public Criteria andRescontentEqualTo(String value) {
            addCriterion("RESCONTENT =", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentNotEqualTo(String value) {
            addCriterion("RESCONTENT <>", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentGreaterThan(String value) {
            addCriterion("RESCONTENT >", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentGreaterThanOrEqualTo(String value) {
            addCriterion("RESCONTENT >=", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentLessThan(String value) {
            addCriterion("RESCONTENT <", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentLessThanOrEqualTo(String value) {
            addCriterion("RESCONTENT <=", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentLike(String value) {
            addCriterion("RESCONTENT like", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentNotLike(String value) {
            addCriterion("RESCONTENT not like", value, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentIn(List<String> values) {
            addCriterion("RESCONTENT in", values, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentNotIn(List<String> values) {
            addCriterion("RESCONTENT not in", values, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentBetween(String value1, String value2) {
            addCriterion("RESCONTENT between", value1, value2, "rescontent");
            return (Criteria) this;
        }

        public Criteria andRescontentNotBetween(String value1, String value2) {
            addCriterion("RESCONTENT not between", value1, value2, "rescontent");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoIsNull() {
            addCriterion("THIRDTRADENO is null");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoIsNotNull() {
            addCriterion("THIRDTRADENO is not null");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoEqualTo(String value) {
            addCriterion("THIRDTRADENO =", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoNotEqualTo(String value) {
            addCriterion("THIRDTRADENO <>", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoGreaterThan(String value) {
            addCriterion("THIRDTRADENO >", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoGreaterThanOrEqualTo(String value) {
            addCriterion("THIRDTRADENO >=", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoLessThan(String value) {
            addCriterion("THIRDTRADENO <", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoLessThanOrEqualTo(String value) {
            addCriterion("THIRDTRADENO <=", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoLike(String value) {
            addCriterion("THIRDTRADENO like", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoNotLike(String value) {
            addCriterion("THIRDTRADENO not like", value, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoIn(List<String> values) {
            addCriterion("THIRDTRADENO in", values, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoNotIn(List<String> values) {
            addCriterion("THIRDTRADENO not in", values, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoBetween(String value1, String value2) {
            addCriterion("THIRDTRADENO between", value1, value2, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andThirdtradenoNotBetween(String value1, String value2) {
            addCriterion("THIRDTRADENO not between", value1, value2, "thirdtradeno");
            return (Criteria) this;
        }

        public Criteria andNotifyidIsNull() {
            addCriterion("NOTIFYID is null");
            return (Criteria) this;
        }

        public Criteria andNotifyidIsNotNull() {
            addCriterion("NOTIFYID is not null");
            return (Criteria) this;
        }

        public Criteria andNotifyidEqualTo(String value) {
            addCriterion("NOTIFYID =", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidNotEqualTo(String value) {
            addCriterion("NOTIFYID <>", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidGreaterThan(String value) {
            addCriterion("NOTIFYID >", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidGreaterThanOrEqualTo(String value) {
            addCriterion("NOTIFYID >=", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidLessThan(String value) {
            addCriterion("NOTIFYID <", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidLessThanOrEqualTo(String value) {
            addCriterion("NOTIFYID <=", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidLike(String value) {
            addCriterion("NOTIFYID like", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidNotLike(String value) {
            addCriterion("NOTIFYID not like", value, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidIn(List<String> values) {
            addCriterion("NOTIFYID in", values, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidNotIn(List<String> values) {
            addCriterion("NOTIFYID not in", values, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidBetween(String value1, String value2) {
            addCriterion("NOTIFYID between", value1, value2, "notifyid");
            return (Criteria) this;
        }

        public Criteria andNotifyidNotBetween(String value1, String value2) {
            addCriterion("NOTIFYID not between", value1, value2, "notifyid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}